let baseUrl = "";

// #ifndef H5
baseUrl = import.meta.env.MODE == "development" ? "http://store.zkodoo.cc" : "http://store.zkodoo.cc";
// #endif

let baseUploadUrl = `${baseUrl}/api/file/upload`;

// #ifdef H5
baseUploadUrl = "/api/file/upload";
// #endif

// h5腾讯地图key
const WebTMAPKEY = "5BVBZ-ZIV6W-UMWRD-3DXC4-WKKC3-V7BEE";

// 微信小程序腾讯地图key
const WeixinTMAPKEY = "42WBZ-XVXCJ-ILAFY-DGPSP-ZGW27-67BLU";

// ebicycling骑行路线api
let ebicyclingUrl = '';

// #ifdef H5
ebicyclingUrl = '/ws/direction/v1/ebicycling';
// #endif

// #ifdef MP-WEIXIN
ebicyclingUrl = 'https://apis.map.qq.com/ws/direction/v1/ebicycling';
// #endif

export default {
  baseUrl,
  baseUploadUrl,
  WebTMAPKEY,
  WeixinTMAPKEY,
  ebicyclingUrl
};
